package com.example.demo.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Controller;

@Controller
@ConfigurationProperties(prefix = "spring.datasource")
@lombok.Data
public class DataConfig {
    public String url;
    private String username;
    private String password;
}
